package com.jrj.base;
/**
 *@author zhiming.li
 *@version createTime：2011-12-23 下午01:53:48
 */
public class CustomerContextHolder {
	
	private static final ThreadLocal<CustomerType> contextHolder = new ThreadLocal<CustomerType>();
	
	public static void setCustomerType(CustomerType customerType){
		contextHolder.set(customerType);
	} 
	
	public static CustomerType getCustomerType(){
		return (CustomerType)contextHolder.get();
	}
	
}
